﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;

namespace Catalina.Dal
{
	public abstract class SqlReaderBase<T> : ObjectReaderBase<T>
	{
		private string _connectionString;

		protected SqlReaderBase(String connectionString)
		{
			_connectionString = connectionString;
		}

		protected override System.Data.IDbConnection GetConnection()
		{
			return new SqlConnection(_connectionString);
		}
	}
}
